@extends('home.layout')

@section('title',$title)

@section('content')


<!-- 我的 -->
	<link rel="stylesheet" href="{{asset('/home/css/z-page.css')}}">
	<meta charset="utf-8" />
    <link rel="stylesheet" href="/home/css/spage.css" />
    <link rel="stylesheet" href="/home/css/animate/animate.css" />
    <link rel="stylesheet" href="/home/css/animate/bounceInLeft.css" />
    <link rel="stylesheet" href="/home/css/animate/rollIn.css" />
    <script src="js/index.js"></script>
		<div class="jz">
			<table >
				<tr class="fbj">
					<td class = "bj" >
					<a href = "#" class = "sp"><b style="background-color:#008842">全部商品分类▼</b></a>
					</td>
					<td ><a href="http://uguozi.com/home/cate/spage" class="hs">新品专区</a></td>
					<td><a href="http://uguozi.com/home/cate/tpage" class="hs">优质生活</a></td>
					<td><a href="#" class="hs">银行专区</a></td>
					<td><a href="#" class="hs">菜谱专栏</a></td>
					
				</tr>
			</table>
			<div class="index">
				<div class="you1">
					<div class="zh" name="1"><!-- 一级列表整行-->
						<div class="lb" ><div class="bg1"><div class="bg11"></div></div><a href="http://uguozi.com/home/cate/zpage/1" class="lb1">进口水果</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="2"><!-- 一级列表整行-->
						<div class="lb" ><div class="bg1"><div class="bg12"></div></div><a href="http://uguozi.com/home/cate/zpage/2" class="lb1">国产水果</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="3"><!-- 一级列表整行-->
						<div class="lb"><div class="bg1"><div class="bg13"></div></div><a href="http://uguozi.com/home/cate/zpage/3" class="lb1">精选肉类</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="4"><!-- 一级列表整行-->
						<div class="lb"><div class="bg1"><div class="bg14"></div></div><a href="http://uguozi.com/home/cate/zpage/4" class="lb1">禽类蛋品</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="5"><!-- 一级列表整行-->
						<div class="lb"><div class="bg1"><div class="bg15"></div></div><a href="http://uguozi.com/home/cate/zpage/5" class="lb1">海鲜水产</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="6"><!-- 一级列表整行-->
						<div class="lb"><div class="bg1"><div class="bg16"></div></div><a href="http://uguozi.com/home/cate/zpage/6" class="lb1">乳品糕点</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="7"><!-- 一级列表整行-->
						<div class="lb"><div class="bg1"><div class="bg17"></div></div><a href="http://uguozi.com/home/cate/zpage/7" class="lb1">新鲜蔬菜</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="8"><!-- 一级列表整行-->
						<div class="lb"><div class="bg1"><div class="bg18"></div></div><a href="http://uguozi.com/home/cate/zpage/8" class="lb1">方便速食</a></div>
						<div class="lb11"> > </div>
					</div>
					<div class="zh" name="9"><!-- 一级列表整行-->
						<div class="lb"><div class="bg1"><div class="bg19"></div></div><a href="http://uguozi.com/home/cate/zpage/9" class="lb1">粮油杂货</a></div>
						<div class="lb11"> > </div>
					</div>

					
				</div>
				
					<div class="you2">
						<h4 class="slb1"><a href="#" class="slb11">进口水果</a></h4>
						<div class="slb2" >
							<div class="slb21" id="abce" >
								<a href="http://uguozi.com/home/cate/zpage/1" class="zl">奇异果</a>&nbsp&nbsp&nbsp
								
							</div>	
						</div>
						<div class="you">
							<a href="#" class="you12"><img class="you11" src="/home/img/shuiguo.png"></a>
						</div>	
				</div>
				
			</div>
			<script>
				$.ajaxSetup({
					headers: {
						'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
					}
			});
		</script>
<!-- 别人的 -->
<div>
	<div class="banner">
		<span class="banFont animated bounceInLeft">
			<img src="/home/img/banfont.png"/>
		</span>
		<img src="/home/img/9288692841980011.jpg"/>		
	</div>
	<!-- 遍历主分类 -->
	@foreach($data as $k =>$a)
	<ul class="list">
		<li class="liOne">
			<div class="">
				<div class="ani3">
					<span class="qiFont">鲜</span>
				</div>
				<img src="/uploads/cate/{{$k}}"/>
			</div>
			
			<ul class="padd0">
				@foreach($a as $v)
				<li class="product ">
					<div class="tag">
						<img src="/home/img/ICON06.png"/>		
					</div>
					<div class="img">
						<img src="{{$v ->gimg}}"/>		
					</div>
					<div class="name">
						<a href="#" target="_blank">{{$v ->gname}}</a>
					</div>
					<div class="price">
						¥<strong>{{$v ->gprice}}</strong><del>￥{{$v ->mprice}}</del>
					</div>
					<div class="buy">
	                    <a class="addCart" href="javascript:void(0)" onclick="">
	                    	<img class="zwTopBg"  src="/home/img/qiangDongle.png"/>
	                    </a>
	                </div>
				</li>
				@endforeach
				
			</ul>
			
		</li>
		
		<div style="clear: both;"></div>
	</ul>
	@endforeach
	

</div>
	
		
		<div style="clear: both;"></div>
	
@endsection


		
@section('service')
        <!-- 网站优点开始 -->
        <div class="service">
            <div class="service_box">
                <ul>
                    <li class="s1">
                        <b>全球精选</b>
                        <span>一站式生鲜购物方案</span>
                    </li>
                    <li class="s1">
                        <b>多仓直发</b>
                        <span>特有次日达配送服务</span>
                    </li>
                    <li class="s1">
                        <b>源头直采</b>
                        <span>精选正宗品质好食材</span>
                    </li>
                    <li class="s1">
                        <b>天天底价</b>
                        <span>会员专属优惠购不停</span>
                    </li>
                </ul>
            </div>
        </div>
        <!-- 网站优点结束 -->
        <script type="text/javascript" charset="utf-8" src="{{asset('/home/js/z-page.js')}}"></script>

@endsection

